package com.cskaoyan.bean.vo.vxVo.cartVo;

import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @projectName: seeonproject1
 * @package: com.cskaoyan.bean.vo.vxVo.cartVo
 * @className: Cartgoods
 * @author: YangDongpeng
 * @description:
 * @date: 2022/6/7 19:42
 * @version: 1.0
 */

@Data
public class Cartgoods {
    private int id;
    private int userId;
    private long goodsId;
    private String goodsSn;
    private String goodsName;
    private int productId;
    private int price;
    private int number;
    private List<String> specifications;
    private boolean checked;
    private String picUrl;
    private Date addTime;
    private Date updateTime;
    private boolean deleted;
    public void setId(int id) {
        this.id = id;
    }
    public int getId() {
        return id;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }
    public int getUserId() {
        return userId;
    }

    public void setGoodsId(long goodsId) {
        this.goodsId = goodsId;
    }
    public long getGoodsId() {
        return goodsId;
    }

    public void setGoodsSn(String goodsSn) {
        this.goodsSn = goodsSn;
    }
    public String getGoodsSn() {
        return goodsSn;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }
    public String getGoodsName() {
        return goodsName;
    }

    public void setProductId(int productId) {
        this.productId = productId;
    }
    public int getProductId() {
        return productId;
    }

    public void setPrice(int price) {
        this.price = price;
    }
    public int getPrice() {
        return price;
    }

    public void setNumber(int number) {
        this.number = number;
    }
    public int getNumber() {
        return number;
    }

    public void setSpecifications(List<String> specifications) {
        this.specifications = specifications;
    }
    public List<String> getSpecifications() {
        return specifications;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }
    public boolean getChecked() {
        return checked;
    }

    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }
    public String getPicUrl() {
        return picUrl;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }
    public Date getAddTime() {
        return addTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public Date getUpdateTime() {
        return updateTime;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }
    public boolean getDeleted() {
        return deleted;
    }


    public Cartgoods(int id, int userId, long goodsId, String goodsSn, String goodsName, int productId, int price, int number, List<String> specifications, boolean checked, String picUrl, Date addTime, Date updateTime, boolean deleted) {
        this.id = id;
        this.userId = userId;
        this.goodsId = goodsId;
        this.goodsSn = goodsSn;
        this.goodsName = goodsName;
        this.productId = productId;
        this.price = price;
        this.number = number;
        this.specifications = specifications;
        this.checked = checked;
        this.picUrl = picUrl;
        this.addTime = addTime;
        this.updateTime = updateTime;
        this.deleted = deleted;
    }
}
